
<?php
/**
 * The html template file of add method of student module of ZenTaoPHP.
 *
 * The author disclaims copyright to this source code.  In place of
 * a legal notice, here is a blessing:
 * 
 *  May you do good and not evil.
 *  May you find forgiveness for yourself and forgive others.
 *  May you share freely, never taking more than you give.
 */
?>
<?php include '../../common/view/header.html.php';?>
<div class='container'>
  <div class='panel'>
      <?php  $lang = $this->lang->student; ?>
    <div class='panel-heading'><strong><?php echo $lang->add;?></strong></div>
    <form method='post'>
      <table class='table table-borderless table-form' align='center'>
        <tr>
          <th style='width:80px'><?php echo $lang->campus;?></th>
          <td><?php echo html::select('campus', $campusList, '',"class=form-control");?></td>
        </tr>
          <tr>
              <th style='width:80px'><?php echo $lang->student;?></th>
              <td><?php echo html::input('student', '', "class=form-control");?></td>
          </tr>
          <tr>
              <th style='width:80px'><?php echo $lang->sex;?></th>
              <td><?php echo html::radio('sex', array("男", "女", "未知"), "class=form-control");?></td>
          </tr>
          <tr>
              <th style='width:80px'><?php echo $lang->school;?></th>
              <td><?php echo html::input('school', '', "class=form-control");?></td>
          </tr>
          <tr>
              <th style='width:80px'><?php echo $lang->class;?></th>
              <td><?php echo html::input('class', '', "class=form-control");?></td>
          </tr>
          <tr>
              <th style='width:80px'><?php echo $lang->grade;?></th>
              <td><?php echo html::input('grade', '', "class=form-control");?></td>
          </tr>
        <tr>
          <th><?php echo $lang->comment;?></th>
          <td><?php echo html::textarea('comment', '', "class='form-control' cols='50' rows='10'");?></td>
        </tr>
        <tr><th></th><td><?php echo html::submitButton();?></td></tr>  
      </table>
    </form>
  </div>
</div>
<?php include '../../common/view/footer.html.php';?>
